"""
@Time: 2021/3/9 下午 4:51
@Author: jinzhuan
@File: BBN.py
@Desc: 
"""
from cognlp.io.loader.et.BBN import BBNEtLoader

loader = BBNEtLoader()
train, test = loader.load_all('../../../../cognlp/data/et/BBN/data')
print(1)

from cognlp.io.processor.et.BBN import BBNEtProcessor
processor = BBNEtProcessor(label_list=loader.get_labels(), path='../../../../cognlp/data/et/BBN/data')
train_data = processor.process(train)
print(1)

